<!DOCTYPE html>
<html lang="en">

<head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta http-equiv="X-UA-Compatible" content="ie=edge">
      <link rel="shortcut icon" href="favicon.ico"/>
      <link rel="stylesheet/less" href="css/base.less">
      <link rel="stylesheet/less" href="css/getgsproduct.less">
      <script src="lib/less/less.js"></script>
      <title>慢慢买</title>
</head>
<body>
<!--头部区域-->
 <header class="clearfix">
     <a href="index.html">&lt;</a>
     <div class="download">
         <img src="images/header_app.png" alt="">
     </div>
     <h3>凑单品</h3>
 </header>
<!--nav-->
 <nav>
     <div class="menu"></div>
     <div class="navs">
         <div class="shops"></div>
         <div class="shoparea"></div>
         <div class="allprice">
             <span>全部价格<i></i></span>
             <ul>
                 <li data-price="all" class="current">全部价格</li>
             </ul>
         </div>
     </div>
 </nav>
<!-- 商品列表-->
<ul class="products clearfix"></ul>
<!--footer区域-->
<footer>

      <div class="footer-top">
            <a href="login.aspx.htm" class='log'>登录</a>
            <a href="login.aspx.htm" class='reg'>注册</a>
            <a href="#" class='toTop'>
                  <img src="http://www.zuyushop.com/wap/images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="footer-bottom">
            <p><a href="javascript:;">
                  手机APP下载
            </a><a href="index.html">慢慢买手机版</a>--掌上比价平台</p>
            <p>m.manmanbuy.com</p>
      </div>
</footer>
<!--js引包-->
<script src='lib/jquery/jquery.min.js'></script>
<script src='lib/template.js'></script>
<script src="js/getgsproduct.js"></script>
<!--模板-->
<!--nav-->
<script id="shops" type="text/html">
      <span>
            {{result[0].shopName || slice(result[0].areaName,0,2)}}
            <i></i>
        </span>
      <ul>
            {{each result as value index}}
            <li data-shopid="{{value.shopId}}" data-areaid="{{value.areaId}}" class="{{if index == 0}}current{{/if}}">
                  {{value.shopName || value.areaName}}
            </li>
            {{/each}}
      </ul>
</script>
<!--products-->
<script id="products" type="text/html">
      {{each result as value index}}
      <li>
            <div>
                  <img src="{{value.productImg}}" />
                  <p>{{value.productName}}</p>
                  <div>
                        <span>{{value.productPrice}}</span>
                        <a>去凑单</a>
                  </div>
            </div>
      </li>
      {{/each}}
</script>
</body>

</html>